module.exports = app => {
    const { BOOLEAN, STRING, INTEGER, DATE } = app.Sequelize;
    const Chat = app.model.define('chat', {
        id: {
            type: INTEGER,
            primaryKey: true,
            autoIncrement: true,
        },
        number: INTEGER,
        name: STRING(50),
        msg: STRING(50),       
        created_at: DATE,
        updated_at: DATE
    });


    return Chat;
};